package org.example.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.example.domain.SysRole;
import org.example.dto.RoleDto;

import java.util.List;

@Mapper
public interface SysRoleMapper {
    List<SysRole> rolesList();

    List<SysRole> roleList(RoleDto roleDto);

    List<SysRole> list();

    Boolean roleDels(List<Long> id);

    void save(SysRole sysRole);

    SysRole listById(Long id);

    void update(SysRole sysRole);

    List<SysRole> getrole();

    void insertBath(List<SysRole> cacheList);
}
